Update the GCM with Chemistry for CF - #896
jeromebarre wants to merge 26 commits into
Conversation
|
@mranst the suite configs for Do I need to this update, if yes tell me how to do this. Or can you do it? Thanks |
You can run |
I just did it. It removed the observation that it should remove but it didn't changed the dates accordingly. |
It doesn't exactly matter, as they are generated in a dry-run mode and no checks for obs are performed, so the dates are really just placeholders. But, if you want to change it for consistency, you can make the change here: swell/src/swell/utilities/scripts/create_mock_configs.py Lines 19 to 53 in 263429a |
|
Tried the tier1 tests, |
Good catch. It's becasue the backgrounds are generated with the GCM cycling. I will change the date for that suite to only one cycle. |
mer-a-o
left a comment
There was a problem hiding this comment.
overall looks great. Thanks @jeromebarre. I was able to run an experiment successfully. I only have a few comments and questions about the changes.
| ### 'Active' is set programmatically based on the analysis_variables config question. | ||
|
|
||
| SpeciesName: NO2 | ||
| AnalysisFreq: 6 |
There was a problem hiding this comment.
Can we set this dynamically?
| AnalysisMinute: 0 | ||
| ForwardLooking: false | ||
| FileTemplate: '>>>SWELL_RUNDIR<<</jedi.inc.%y4%m2%d2.%h2z.nc' | ||
| FileVarName: ozone |
There was a problem hiding this comment.
I think this should match the variable name in the increment and model O3
| NX: 24 | ||
| NY: 144 | ||
| NX: 60 | ||
| NY: 120 |
There was a problem hiding this comment.
Did you notice speed up with changing NX and NY?
|
|
||
| IOSERVER_NODES: 4 | ||
| NUM_BACKEND_PES: 6 | ||
| NUM_BACKEND_PES: 24 |
| @@ -0,0 +1,74 @@ | |||
| &fv_core_nml | |||
There was a problem hiding this comment.
Why was this file moved to SWELL?
| setenv EXPID GCv14.0_GCMv1.17_c90b | ||
| setenv EXPDIR >>>SWELL_GEOSRUN<<< | ||
| setenv HOMDIR $EXPDIR | ||
| setenv EXPID ForecastCF_c360_swell |
There was a problem hiding this comment.
If EXPID is not used in the code, better remove it.
|
|
||
| @ MODEL_NPES = $NX * $NY | ||
|
|
||
| set NCPUS_PER_NODE = 108 |
| ####################################################################### | ||
| #SBATCH --time=00:40:00 | ||
| #SBATCH --nodes=8 --ntasks-per-node=108 | ||
| #SBATCH --nodes=>>>SWELL_SBATCH_NODES<<< --ntasks-per-node=108 |
mranst
left a comment
There was a problem hiding this comment.
Looks good to me, tier tests pass.
| default_value: str = "defer_to_platform" | ||
| question_name: str = "geosfp_path" | ||
| class met_replay_root(TaskQuestion): | ||
| default_value: str = "/home/dao_ops" |
There was a problem hiding this comment.
Generally I'd suggest keeping filepaths in the platform configs (not that it matters that much since we only support Discover anyway)
Description
Generalized meteorology replay source: replaced the hardcoded GEOS FP-only replay config (
geosfp_exp/geosfp_path/REPLAY_ANA_EXPID: >>>SWELL_FP_EXP<<<) with a source-agnosticmet_replay_exp/met_replay_rootquestion pair andget_met_replay_files()/>>>SWELL_REPLAY_*<<<placeholders inprep_forecast_cf.py, so both GEOS FP and GEOS-IT replay archives work without code changes.Renamed
geos_cf_run_dir→geos_cf_rc_diracrosstask_questions.py,question_defaults.py, and the suite configs to better reflect that it points to the static RC directory, not a run directory.Fixed c90 ocean exchange-grid mismatch: corrected
OGCM.GRIDNAME/IM_WORLD/JM_WORLDinAGCM_c90.rc(wasPE360x180-DE/360/180, nowPE2880x1440-DE/2880/1440) to match the pinned BCRSLV tile file, fixing aMAPL_LocStreamMod.F90GRIDINDEXassert crash atGCMInitialize.Fixed
geoschem_config.ymlspecies list parsing crash: removed malformed#-SPECIES(no-space) commented-out complex-SOA species lines that GEOS-Chem's config reader mis-parsed as a literal species named#, causing aMAPL_Generic.F90internal-state registration crash.GEOS-Chem analysis species assembly:
write_geoschem_analysis_yml()writesSpc001..Spc<nspecies>blocks for active species (sequentially numbered). Per-species analysis settings files are copied and referenced inGEOSCHEMchem_GridComp.rc.Fixed
HISTORY.rc: removed thegrid_label: PE90x540-CF/PE360x2160-CFreference on the output collection that pointed to a grid never defined underGRID_LABELS:, causing aMAPL_HistoryGridComp.F90assert. Output now stays on the native grid, matching the working reference configuration, with the corresponding dead placeholder logic removed fromprep_forecast_cf.py.Added
fvcore_layout.rcand wired it intoprepare_namelists()'s copied namelist file list.Consolidated and cleaned
gcm_run_geoscf_c90.j: replaced the resolution-specific script with a singlegcm_run_geoscf.jshared across resolutions, driven by newsbatch_nodes/ BCRSLV placeholders per resolution.Removed obsolete
tr_import/tr_internalfrom3dvar_cf_cycle's clean/reset list and droppedtempo_no2_tropofrom both3dvar_cfand3dvar_cf_cycleobservation lists, keeping onlytropomi_s5p_no2_tropofor now with the intent to have OMPS O3 and MLS O3 and TropOMI CO in a next PR. Hofx suite is keeping TEMPO NO2 with the older dates.Updated runtime/decomposition settings: reduced
HEARTBEAT_DTinCAP_c90.rcfrom900to300, increased the c360NX/NY/NUM_BACKEND_PESdecomposition, and addedNUM_BACKEND_PES: 8for c90.Updated suite configuration test dates and paths (
start_cycle_point,final_cycle_point,geos_cf_install_dir,inc_template) to point to the current development builds and test window. This will affect3dvar_cfand3dvar_cf_cyclesuitesDependencies
Impact